use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Mon, 9 Oct 2023 06:53:31 +0000 (07:53 +0100)
committerThomas Goirand <zigo@debian.org>
Mon, 9 Oct 2023 06:53:31 +0000 (07:53 +0100)
commit23b0ae8fc158f64aded9d79ad38a3a11bb53a98c
treeeb728b0edc3355cbf6ca221a8b08c40f48b7e47b
parentefd759eceea7cccc9bb27fe29edbd74a996a9434
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch
src/java/CMakeLists.txt